package com.grad.why.studentsystem.domain.current;

import com.grad.why.studentsystem.domain.Teacher;

import java.util.Date;

public class CurrentTeacher implements java.io.Serializable{
    private Integer id;
    private String name;
    private Integer age;
    private Integer position;
    private Integer workrole;
    private String tel;
    private String email;
    private String sex;
    private Date birthday;
    private String nation;
    private String address;
    private String positionName;
    private String workroleName;

    public String getPositionName() {
        return positionName;
    }

    public void setPositionName(String positionName) {
        this.positionName = positionName;
    }

    public String getWorkroleName() {
        return workroleName;
    }

    public void setWorkroleName(String workroleName) {
        this.workroleName = workroleName;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getPosition() {
        return position;
    }

    public void setPosition(Integer position) {
        this.position = position;
    }

    public Integer getWorkrole() {
        return workrole;
    }

    public void setWorkrole(Integer workrole) {
        this.workrole = workrole;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getNation() {
        return nation;
    }

    public void setNation(String nation) {
        this.nation = nation;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    @Override
    public String toString() {
        return "CurrentTeacher{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", position=" + position +
                ", workrole=" + workrole +
                ", tel='" + tel + '\'' +
                ", email='" + email + '\'' +
                ", sex='" + sex + '\'' +
                ", birthday=" + birthday +
                ", nation='" + nation + '\'' +
                ", address='" + address + '\'' +
                ", positionName='" + positionName + '\'' +
                ", workroleName='" + workroleName + '\'' +
                '}';
    }
}
